//
// Created by Eddy on 2024/3/14.
//
#include "iostream"
int main() {
    // 整型
    std::cout<< "整形" << std::endl;
    std::cout<< sizeof(short) << std::endl;
    std::cout<< sizeof(int) << std::endl;
    std::cout<< sizeof(long) << std::endl;
    std::cout<< sizeof(long long ) << std::endl;
    // 浮点型
    std::cout<< "浮点型" << std::endl;
    std::cout<< sizeof(float) << std::endl;
    std::cout<< sizeof(double) << std::endl;
    // boolean
    std::cout<< "boolean" << std::endl;
    std::cout<< sizeof(bool) << std::endl;
    // char
    std::cout<< "char" << std::endl;
    std::cout<< sizeof(char) << std::endl;
    // string
    std::cout<< "string" << std::endl;
    std::cout<< sizeof(std::string) << std::endl;
    return 0;
}